@extends('admin.common.list.list')

@section('content')
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
        <span><i class="icon-table"></i> 修改管理员信息
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" action="/t_admin/admin/{{$data->id}}" method="post">
        <input type="hidden" value="PUT" name="_method">
    		{{ csrf_field() }}
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">用户名</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="a_uname" id="u_name" value="{{$data->a_uname}}" readonly>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">真实姓名</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="a_name" value="{{$data->a_name}}">
    				</div>
    			</div>
                <div class="mws-form-row">
                    <label class="mws-form-label">联系电话</label>
                    <div class="mws-form-item">
                        <input type="number" class="small" name="a_phone" value="{{$data->a_phone}}">
                    </div>
                </div>
    		</div>
    		<div class="mws-button-row">
    			<input type="submit" value="修改" class="btn btn-danger">
    			<input type="button" value="返回"  onclick="window.history.back()" class="btn ">
    		</div>
    	</form>
    </div>    	
</div>
@endsection